home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Aug-Sep 88 / Yet another vRefNum Comment ⁄ < prev   
Encoding:
Text File  |  1991-03-06  |  801 b   |  28 lines  |  [TEXT/GEOL]

  1. Item    8793477                         5-Sept-88        08:35
  2.  
  3. From:   D0619                           Palomar Software, Dev, Joel West
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Yet Another vRefNum Comment
  8.  
  9. The algorithm that Larry describes for constructing a
  10. full pathname is coded on page 467 of “Programming with MPW”.
  11. Note that C strings avoid the 255-character name
  12. limit problem.
  13.  
  14. I would guess that the vRefNum, name approach is probably
  15. best.  If file not found, use a HyperCard-style SFGetFile dialog
  16. "Where is «name»?"
  17.  
  18. I would note that the Script Manager, like SysEnvirons, returns
  19. a vRefNum for the blessed folder (the same one?).  Now if we
  20. just had a system call to return the vRefNum of the preferences
  21. folder Darin keeps recommending to us.
  22.  
  23.  
  24. Joel
  25.  
  26.  
  27.  
  28.